package com.platform.wechat.entity;

import lombok.Data;

import java.util.Date;

/**
 * 医院信息表
 */
@Data
public class Hospital {
    //医院id
    private Integer hospitalId;
    //医院名称
    private String hospitalName;
    //医院等级
    private String hospitalLevel;
    //放号时间
    private Date numberallocationTime;
    //30天订单总数
    private Long totalOrders;
    //医院描述
    private String hospitalDescribed;
    //医院地址
    private String hospitalAddress;
    //交通指南
    private String trafficGuide;
    //医院头像
    private String hospitalImage;

    private Integer officesId;

    private Integer chiefofficesId;

    private String officesName;

    private Double longitude;//经度

    private Double latitude ;//纬度

    private Double distance ;//距离

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalLevel() {
        return hospitalLevel;
    }

    public void setHospitalLevel(String hospitalLevel) {
        this.hospitalLevel = hospitalLevel;
    }

    public Date getNumberallocationTime() {
        return numberallocationTime;
    }

    public void setNumberallocationTime(Date numberallocationTime) {
        this.numberallocationTime = numberallocationTime;
    }

    public Long getTotalOrders() {
        return totalOrders;
    }

    public void setTotalOrders(Long totalOrders) {
        this.totalOrders = totalOrders;
    }

    public String getHospitalDescribed() {
        return hospitalDescribed;
    }

    public void setHospitalDescribed(String hospitalDescribed) {
        this.hospitalDescribed = hospitalDescribed;
    }

    public String getHospitalAddress() {
        return hospitalAddress;
    }

    public void setHospitalAddress(String hospitalAddress) {
        this.hospitalAddress = hospitalAddress;
    }

    public String getTrafficGuide() {
        return trafficGuide;
    }

    public void setTrafficGuide(String trafficGuide) {
        this.trafficGuide = trafficGuide;
    }

    public String getHospitalImage() {
        return hospitalImage;
    }

    public void setHospitalImage(String hospitalImage) {
        this.hospitalImage = hospitalImage;
    }

    public Integer getOfficesId() {
        return officesId;
    }

    public void setOfficesId(Integer officesId) {
        this.officesId = officesId;
    }

    public Integer getChiefofficesId() {
        return chiefofficesId;
    }

    public void setChiefofficesId(Integer chiefofficesId) {
        this.chiefofficesId = chiefofficesId;
    }

    public String getOfficesName() {
        return officesName;
    }

    public void setOfficesName(String officesName) {
        this.officesName = officesName;
    }

    @Override
    public String toString() {
        return "Hospital{" +
                "hospitalId=" + hospitalId +
                ", hospitalName='" + hospitalName + '\'' +
                ", hospitalLevel='" + hospitalLevel + '\'' +
                ", numberallocationTime=" + numberallocationTime +
                ", totalOrders=" + totalOrders +
                ", hospitalDescribed='" + hospitalDescribed + '\'' +
                ", hospitalAddress='" + hospitalAddress + '\'' +
                ", trafficGuide='" + trafficGuide + '\'' +
                ", hospitalImage='" + hospitalImage + '\'' +
                ", officesId=" + officesId +
                ", chiefofficesId=" + chiefofficesId +
                ", officesName='" + officesName + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", distance=" + distance +
                '}';
    }
}